package com.test.Exception;

public class FinallyTryCatch {
    public static void main(String[] args) {
        System.out.println(test(1));
    }

    public static int test(int a) {
        try {
            return a;
//            return a/0;
        } catch (Exception e) {
            return a;
        } finally {
            a = a + 1;
        }
    }
}
